<div class="pagination">
    <?php if (isset($this->previous)): ?>
          <a href="<?php echo $this->url(array('page' => $this->previous)); ?>">&lt; Zurück</a>
    <?php else: ?>
        <span class="disabled">&lt; Zurück</span>
    <?php endif; ?>

    <?php foreach ($this->pagesInRange as $page): ?>
        <?php if ($page != $this->current): ?>
            <a href="<?php echo $this->url(array('page' => $page)); ?>"><?php echo '[' . $page . ']'; ?></a>
        <?php else: ?>
            <?php echo '[' . $page . ']'; ?>
        <?php endif; ?>
    <?php endforeach; ?>

    <?php if (isset($this->next)): ?>
           <a href="<?php echo $this->url(array('page' => $this->next)); ?>">Vorwärts &gt;</a>
    <?php else: ?>
          <span class="disabled">Vorwärts &gt;</span>
    <?php endif; ?>
</div>